package org.example.springlog;

public class FacadeClient implements Light{
    private LivingLight livingLight=new LivingLight();
    private BedRoomLight bedRoomLight=new BedRoomLight();

    @Override
    public void on() {
    livingLight.on();
    bedRoomLight.on();
    }

    @Override
    public void off() {
    livingLight.off();
    bedRoomLight.off();
    }
}
